#ifndef SSICLOUD_SERVICE_POLICY_H
#define SSICLOUD_SERVICE_POLICY_H

#include "ssicloud_list_object.h"

namespace ssicloud {

/**
 * @brief The ServicePolicy class
 *  服务政策-分页查询
 */
class ServicePolicy : public ListObject<ServicePolicyLNode> {
public:
    ServicePolicy();

    //! 获取数据
    bool requestAll(int pageNum = 1, int pageSize = 10);

    //! 调试信息
    void profile();

protected:
    //! 分析数据
    int genResult(NetBuffer *data);

private:
    char m_body[1024];
};
}

#endif // SSICLOUD_SERVICE_POLICY_H
